﻿<phone:PhoneApplicationPage 
    x:Class="girapong.records"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot es la cuadrícula raíz donde se coloca todo el contenido de la página-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contiene el nombre de la aplicación y el título de la página-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28"></StackPanel>

        <!--ContentPanel. Colocar aquí el contenido adicional-->
        <Grid x:Name="ContentPanel" Margin="0,32,0,0" Grid.RowSpan="2">
            <ListBox Height="610" HorizontalAlignment="Left" Margin="12,105,0,0" Name="listaPuntuaciones" VerticalAlignment="Top" Width="462" ItemsSource="{Binding}">
                <ListBox.ItemTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Vertical">
                        <StackPanel Orientation="Horizontal">
                            <Image Source="estrellita.png"/>
                            <TextBlock Text="{Binding mark}" FontSize="50" FontWeight="Bold" />
                                <TextBlock Text=" scoring" TextWrapping="Wrap" FontSize="50"/>
                            </StackPanel>
                            <StackPanel Orientation="vertical">
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{Binding Path=MyLocalizedResx.mode, Source={StaticResource LocalizedResx}}" TextWrapping="Wrap" FontSize="25"/>
                                    <TextBlock Text="{Binding type}" TextWrapping="Wrap" FontWeight="Bold" FontSize="25"/>
                                    </StackPanel>
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="{Binding jugador}" FontSize="25" />
                                    <TextBlock Text="{Binding Path=MyLocalizedResx.registered, Source={StaticResource LocalizedResx}}" FontSize="25"/>
                                    <TextBlock Text="{Binding date}" TextWrapping="Wrap" FontSize="25" />

                                </StackPanel>
                            </StackPanel>
                        </StackPanel>
                    </DataTemplate>
                </ListBox.ItemTemplate>
            </ListBox>
            <TextBlock Height="79" HorizontalAlignment="Left" Margin="11,8,0,0" Name="textBlock1" Text="{Binding Path=MyLocalizedResx.scores, Source={StaticResource LocalizedResx}}" VerticalAlignment="Top" Width="450" FontSize="64" />
        </Grid>
        <TextBlock FontFamily="Verdana" FontSize="18" FontStretch="SemiCondensed" FontWeight="Black" Foreground="#FFF3EBEA" Height="30" Name="titulo1" Style="{StaticResource PhoneTextNormalStyle}" Text="giraPong" TextAlignment="Center" Margin="0,-4,0,19" />
    </Grid>
 
    <!--Código de ejemplo que muestra el uso de ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Botón 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Botón 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="Elemento de menú 1"/>
                <shell:ApplicationBarMenuItem Text="Elemento de menú 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
